From f424d6b7b3c86152584bff8ead6cf3f8d7a43fc3 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 11 May 2004 15:46:13 +0000 Subject: [PATCH] Fix bogus initializion in str_utf8_to_ascii git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@799 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/util.c b/gpsbabel/util.c index 0d3505c9f..25ffad8ca 100644 --- a/gpsbabel/util.c +++ b/gpsbabel/util.c @@ -772,7 +772,7 @@ char * str_utf8_to_ascii( const char * str ) if ( *cur & 0x80 ) { int bytes; int value; - char *strvalue = ""; + char *strvalue = NULL; utf8_to_int( cur, &bytes, &value ); switch (value) { case 0x2026: strvalue = "..."; break; -- 2.30.2